<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
    <link rel="stylesheet" href="./css/base.css">
    <style>
        .odd {
            background-color: rgb(255, 255, 255);
        }

        .even {
            background-color: rgb(238, 241, 248);
        }
    </style>
</head>

<body>

    <div id="father">
        <div id="select_box">
            <input type="text" name="keyWord" id="ipt_text">
            <input type="button" value="查询" id="select" onclick="query()">
            <input type="button" value="新增" id="XinZeng" onclick="XinZeng_btn()">
        </div>

        <div id="table_box">
            <table id="tb">


                <tr>
                    <th>id</th>
                    <th id="table_name">商品名称</th>
                    <th>库存</th>
                    <th>价格</th>
                    <th>品牌商</th>
                    <th>操作</th>
                </tr>
            </table>
        </div>


    </div>



    <script src="./js/jquery-3.6.0.min.js"></script>

    <script src="./js/index.js"></script>
    <script src="./js/tableColor.js"></script>


<!-- //首页预加载遍历商品 -->
    <script>
        $(function () {
            query();
        })
    </script>

</body>

</html>